<?php 
class searchCandidatesAction extends AdminMaster{
	public function execute($request){
		$action = $request->getParameter('action_name', '');
		$id = intval($request->getParameter('job_id', 0));
		$data = array();		
		if($action == ADMIN_DEFINED::SEARCH_CANDIDATE){
			$data = Candidates::searchcandidate($id);
		}
		
		$this->setVar('data', $data);
	}
}